﻿using System;
using System.Runtime.InteropServices;
using SlimDX;

namespace TileGert
{
  /// <summary>
  /// Can be used for FVF. A four float position with an int color.
  /// </summary>
  [StructLayout(LayoutKind.Sequential)]
  public struct GertTransformedColoredVertex
  {
    /// <summary>
    /// Specifies the position of the vertex.
    /// </summary>
    public Vector4 Position;
    /// <summary>
    /// Specifies the color of the vertex. You can use the ToInt() method of the GertColor type to get this value.
    /// </summary>
    public int Color;
  }
}
